/*
 * Copyright (c) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
let i1 = 0;
while (i1 < 9) {
  const a = function(): number {
    return i1;
  };
  a();

  i1++;
}
let i2 = 0;
do {
  function a(): number {
    return i2;
  }
  a();
  i2++;
} while (i2 < 9);
for (let x of xs) {
  let a9;
  for (let y of ys) {
    a9 =1;
    (function () {
      a9;
    });
  }
}
let a = 0;
let a2 = 0;
for (var i = 0; i < 5; i++) {
  function a() {
    i;
  }
  a();
}
for (let i = 0; i < 5; i++) {
  (function () {
    a;
  });
}
for (let i in {}) {
  (function () {
    a2;
  });
}
let a = 0;
for (let i of {}) {
  (function () {
    a;
  });
}
let a = 0;
for (let i = 0; i < l; i++) {
  (function () {
    (function () {
      a;
    });
  });
}
let a2 = 0;
for (let i in {}) {
  function foo() {
    (function () {
      a2;
    });
  }
}
let a3 = 0;
for (let i of {}) {
  () => {
    (function () {
      a3;
    });
  };
}
var a4 = 0;
for (let i = 0; i < l; i++) {
  (function () {
    a4;
  });
}
var a5 = 0;
for (let i in {}) {
  (function () {
    a5;
  });
}

var a6 = 0;
for (let i of {}) {
  (function () {
    a6;
  });
}
let result = {};
for (const score in scores) {
  const letters = scores[score];
  letters.split('').forEach(letter => {
    result[letter] = score;
  });
}
result.__default = 6;
for (var i = 0; i < l; i++) {
  for (var j = 0; j < m; j++) {
    (function () {
      i + j;
    });
  }
}
for (var i in {}) {
  (function () {
    i;
  });
}
for (var i of {}) {
  (function () {
    i;
  });
}
for (var i = 0; i < l; i++) {
  () => {
    i;
  };
}
for (var i = 0; i < l; i++) {
  var a = function () {
    i;
  };
}
for (var i = 0; i < l; i++) {
  function a() {
    i;
  }
  a();
}
for (
  var i = 0;
  (function () {
    i;
  })(),
  i < l;
  i++
) { }
for (
  var i = 0;
  i < l;
  (function () {
    i;
  })(),
  i++
) { }
let c;
for (let o = 0; o < 6; o++) {
  (function () {
    c;
  });
}
let a;
for (let i in {}) {
  (function () {
    a;
  });
  a = 1;
}
let a;
for (let i of {}) {
  (function () {
    a;
  });
}
a = 1;
let a;
for (let i = 0; i < l; i++) {
  (function () {
    (function () {
      a;
    });
  });
  a = 1;
}
let a;
for (let i in {}) {
  a = 1;
  function foo() {
    (function () {
      a;
    });
  }
}
let a;
for (let i of {}) {
  () => {
    (function () {
      a;
    });
  };
}
a = 1;
for (var i = 0; i < 10; ++i) {
  for (let x in xs.filter(x => x != i)) {
  }
}
for (let x of xs) {
  let a;
  for (let y of ys) {
    a = 1;
    (function () {
      a;
    });
  }
}
for (var x of xs) {
  for (let y of ys) {
    (function () {
      x;
    });
  }
}
for (var x of xs) {
  (function () {
    x;
  });
}
var a;
for (let x of xs) {
  a = 1;
  (function () {
    a;
  });
}
var a;
for (let x of xs) {
  (function () {
    a;
  });
  a = 1;
}
let a;
function foo() {
  a = 10;
}
for (let x of xs) {
  (function () {
    a;
  });
}
foo();
function foo() {
  a = 10;
  for (let x of xs) {
    (function () {
      a;
    });
  }
}
foo();